from django.db import models
from utils.models import CoreModel   


class UsersCustomer(CoreModel):
        
    phone_number = models.CharField(null=True, blank=True, max_length=11, verbose_name='电话号码', help_text='电话号码')    
    partner_name = models.CharField(null=True, blank=True, max_length=40, verbose_name='客户名', help_text='客户名')    
    partner_id = models.CharField(null=True, blank=True, max_length=16, verbose_name='客户号', help_text='客户号')    
    user_group = models.CharField(null=True, blank=True, max_length=16, verbose_name='用户组', help_text='用户组')    
    user_name = models.CharField(null=True, blank=True, max_length=16, verbose_name='用户名称', help_text='用户名称')    
    user_id = models.CharField(null=True, blank=True, max_length=16, verbose_name='用户ID', help_text='用户ID')

    class Meta:
        db_table = 'users_customer'
        verbose_name = '用户客户表'
        verbose_name_plural = verbose_name
        ordering = ('-create_datetime',)
    